type github.com/jackc/pgx/v5.dbTx
16 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L566: tx *dbTx
batch.go#L600: return &txBatchResults{BatchResults: br, tx: &dbTx{closed: true}, closed: true, err: err}
conn.go#L959: tx: &dbTx{conn: c, commitQuery: b.txOptions.CommitQuery},
tx.go#L139: return &dbTx{
tx.go#L195: type dbTx struct {
tx.go#L203: func (tx *dbTx) Begin(ctx context.Context) (Tx, error) {
tx.go#L218: func (tx *dbTx) Commit(ctx context.Context) error {
tx.go#L247: func (tx *dbTx) Rollback(ctx context.Context) error {
tx.go#L264: func (tx *dbTx) Exec(ctx context.Context, sql string, arguments ...any) (commandTag pgconn.CommandTag, err error) {
tx.go#L273: func (tx *dbTx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
tx.go#L282: func (tx *dbTx) Query(ctx context.Context, sql string, args ...any) (Rows, error) {
tx.go#L293: func (tx *dbTx) QueryRow(ctx context.Context, sql string, args ...any) Row {
tx.go#L299: func (tx *dbTx) CopyFrom(ctx context.Context, tableName Identifier, columnNames []string, rowSrc CopyFromSource) (int64, error) {
tx.go#L308: func (tx *dbTx) SendBatch(ctx context.Context, b *Batch) BatchResults {
tx.go#L320: func (tx *dbTx) LargeObjects() LargeObjects {
tx.go#L324: func (tx *dbTx) Conn() *Conn {